package com.sky.merchant.controller;

import com.sky.merchant.entity.Merchant;
import com.sky.merchant.service.MerchantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 商家表 前端控制器
 * </p>
 *
 * @author wuyunbin
 * @since 2022-12-09
 */
@RestController
@RequestMapping("/merchant")
public class MerchantController {
@Autowired
    private MerchantService merchantService;
    /**被调用的方法
     * @param str
     * */
    @GetMapping ("/method/{str}")
  public void method(@PathVariable String str){
      System.out.println(str);
  }
}
